package cn.wei.sdd.core.service;

import cn.wei.sdd.core.pojo.entity.TransFlow;
import cn.wei.sdd.core.pojo.query.TransFlowQuery;
import cn.wei.sdd.core.pojo.vo.AdminTransFlowListVO;
import cn.wei.sdd.core.pojo.vo.SelectTimeVO;
import cn.wei.sdd.core.pojo.vo.UserTransFlowVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 交易流水表 服务类
 * </p>
 *
 * @author Wei
 * @since 2021-09-22
 */
public interface TransFlowService extends IService<TransFlow> {

    List<UserTransFlowVO> getMyTransFlow(String userType, Long userId, SelectTimeVO selectTimeVO);

    IPage<AdminTransFlowListVO> listPage(Page<AdminTransFlowListVO> pageParam, TransFlowQuery transFlowQuery);

}
